package com.nosnow.msm.service;

import com.aliyuncs.exceptions.ClientException;

import java.util.Map;

/**
 * @author by bingHeng
 * @version 1.0
 * @Create 2020/4/21 23:29
 */
public interface MsmService {

    /**
     * 向阿里云发送短信
     * @param param
     * @param phone
     * @return
     */
    boolean send(Map<String, Object> param, String phone) throws ClientException;
}
